<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>error</title>
    <script src="../../dist/monitor.js"></script>
    <script>
        monitor.init({
            url:"http://localhost:9800/reportData",
        })
    </script>
</head>
<body>
    <img src="http://toutiao.com/x.png" alt="" />
    <img src="http://toutiao.com/x2.png" alt="" />
    <img src="http://toutiao.com/x3.png" alt="" />
    <script>
        function test() {
            return Promise.reject(Error("promise"));
        }
        function test1() {
                return Promise.reject(Error("async"));
        }
        test();
        test1();
        throw Error("test");
    </script>
</body>
</html>